package cn.yitun.chat.yitunservercommonlib.enums.system;

/**
 * 持久化配置
 * @author chenyitun
 */
public enum PersistentStatusEnums {

    FLAG_DISABLE("0" , "不持久化"),

    FLAG_ENABLE("1" , "持久化"),

    ;
    private String type;
    private String name;

    PersistentStatusEnums() {
    }

    PersistentStatusEnums(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
